﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using TouchRC.BarManagers;
using TouchRC.Classes;
using Fluid.Controls;
using System.Drawing;

namespace TouchRC
{
    public class TempScrollPanel : ScrollPanel
    {
        public TempScrollPanel(int x, int y, int w, int h)
            : base(x, y, w, h)
        {
        }

        protected override void InitControl()
        {
            Alpha = 100;
            base.InitControl();
        }

        public override void OnPaint(FluidPaintEventArgs pe)
        {
            base.OnPaint(pe);
        }

        protected override void OnPaintBackground(FluidPaintEventArgs e)
        {
            base.OnPaintBackground(e);
        }

        protected override void PaintContent(FluidPaintEventArgs pe)
        {
            base.PaintControls(pe);
        }
    }

    public class TempPanelScrollTest : FluidPanelBase
    {
        private ScrollPanel container = new ScrollPanel(10, 10, 100, 100);
        private TempScrollPanel container2 = new TempScrollPanel(110, 110, 100, 100);

        public override void SetControlPositions(ScreenOrientation screenOrientation)
        {
        }

        public override void RefreshValues()
        {
        }

        public override void AddControls()
        {
            Controls.Add(container);
            Controls.Add(container2);
        }

        public override void InitPanelControls()
        {
            container.BackColor = Color.Empty;
            container2.BackColor = Color.Empty;
        }

        public override List<BarOption> GetBarOptions()
        {
            return new List<BarOption>();
        }

        public override void Back()
        {
        }
    }
}
